package site.wetsion.employ.server.pojo;

import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;
/**
 * 论坛回帖类
 * @author Wetsion
 *
 */
public class ForumFollow implements Serializable, Comparable<ForumFollow> {

	private static final long serialVersionUID = 1L;
	
	private BigInteger id;
	
	private BigInteger follow_post_id;
	
	private BigInteger follow_parent_id;
	
	private BigInteger follow_user_id;
	
	private String follow_content;
	
	private int follow_status;
	
	private Timestamp gmt_create;
	
	private Timestamp gmt_modified;
	
	private User follow_user;
	
	private ForumFollow parent_follow;
	
	private ForumPost forumPost;

	public ForumPost getForumPost() {
		return forumPost;
	}

	public void setForumPost(ForumPost forumPost) {
		this.forumPost = forumPost;
	}

	public ForumFollow getParent_follow() {
		return parent_follow;
	}

	public void setParent_follow(ForumFollow parent_follow) {
		this.parent_follow = parent_follow;
	}

	public BigInteger getId() {
		return id;
	}

	public void setId(BigInteger id) {
		this.id = id;
	}

	public BigInteger getFollow_post_id() {
		return follow_post_id;
	}

	public void setFollow_post_id(BigInteger follow_post_id) {
		this.follow_post_id = follow_post_id;
	}

	public BigInteger getFollow_parent_id() {
		return follow_parent_id;
	}

	public void setFollow_parent_id(BigInteger follow_parent_id) {
		this.follow_parent_id = follow_parent_id;
	}

	public BigInteger getFollow_user_id() {
		return follow_user_id;
	}

	public void setFollow_user_id(BigInteger follow_user_id) {
		this.follow_user_id = follow_user_id;
	}

	public String getFollow_content() {
		return follow_content;
	}

	public void setFollow_content(String follow_content) {
		this.follow_content = follow_content;
	}

	public int getFollow_status() {
		return follow_status;
	}

	public void setFollow_status(int follow_status) {
		this.follow_status = follow_status;
	}

	public Timestamp getGmt_create() {
		return gmt_create;
	}

	public void setGmt_create(Timestamp gmt_create) {
		this.gmt_create = gmt_create;
	}

	public Timestamp getGmt_modified() {
		return gmt_modified;
	}

	public void setGmt_modified(Timestamp gmt_modified) {
		this.gmt_modified = gmt_modified;
	}

	public User getFollow_user() {
		return follow_user;
	}

	public void setFollow_user(User follow_user) {
		this.follow_user = follow_user;
	}

	@Override
	public int compareTo(ForumFollow o) {
		return gmt_create.compareTo(o.getGmt_create());
	}

	
	

}
